Description: 解码器,利用差错控制算法解汉明码,BCH码等多种码字-Decoder, error control algorithm using Hamming Code, BCH Code and other code words Platform: |
Size: 2048 |
Author:傲然寒风 |
Hits:
Description: VHDL程序集锦,很多有用程序,英文版其中有汉明码编译码,优先译码等等。-VHDL Collection procedures, many useful procedures, the English version of them hamming code encoding and decoding, the priority decoder and so on. Platform: |
Size: 168960 |
Author:萍果 |
Hits:
Description: hamming/汉明码的解码代码,在通信中常常用到汉明码-hamming/hamming code decoder code, usually used in communication Hamming Code Platform: |
Size: 1024 |
Author:leng |
Hits:
Description: -- Hamming Decoder
-- This Hamming decoder accepts an 8-bit Hamming code (produced by the encoder above) and performs single error correction and double error detection.
-- download from: www.pld.com.cn & www.fpga.com.cn
LIBRARY ieee
USE ieee.std_logic_1164.ALL
ENTITY hamdec IS
PORT(hamin : IN BIT_VECTOR(0 TO 7) --d0 d1 d2 d3 p0 p1 p2 p4
dataout : OUT BIT_VECTOR(0 TO 3) --d0 d1 d2 d3
sec, ded, ne : OUT BIT) --diagnostic outputs
END hamdec
ARCHITECTURE ver1 OF hamdec IS
BEGIN
--- Hamming Decoder
-- This Hamming decoder accepts an 8-bit Hamming code (produced by the encoder above) and performs single error correction and double error detection.
-- download from: www.pld.com.cn & www.fpga.com.cn
LIBRARY ieee
USE ieee.std_logic_1164.ALL
ENTITY hamdec IS
PORT(hamin : IN BIT_VECTOR(0 TO 7) --d0 d1 d2 d3 p0 p1 p2 p4
dataout : OUT BIT_VECTOR(0 TO 3) --d0 d1 d2 d3
sec, ded, ne : OUT BIT) --diagnostic outputs
END hamdec
ARCHITECTURE ver1 OF hamdec IS
BEGIN
Platform: |
Size: 4096 |
Author:djs |
Hits:
Description: decoder of Hamming
Use a [7,4] Hamming code.
m = 3 n = 2^m-1 k = n-m
parmat = hammgen(m) Produce parity-check matrix.
trt = syndtable(parmat) Produce decoding table.
recd = [1 0 0 1 1 1 1] Suppose this is the received vector.
syndrome = rem(recd * parmat ,2)
syndrome_de = bi2de(syndrome, left-msb ) Convert to decimal.-decoder of Hamming
Use a [7,4] Hamming code.
m = 3 n = 2^m-1 k = n-m
parmat = hammgen(m) Produce parity-check matrix.
trt = syndtable(parmat) Produce decoding table.
recd = [1 0 0 1 1 1 1] Suppose this is the received vector.
syndrome = rem(recd* parmat ,2)
syndrome_de = bi2de(syndrome, left-msb ) Convert to decimal. Platform: |
Size: 69632 |
Author:le thanh tan |
Hits:
Description: In this assignment you will be designing a chip that both encodes and decodes a data stream using a Hamming code. You will also inject random errors into the data stream and your decoder must be able to fix single-bit errors. Note: This project is intended to be individually. I don’t have a problem if you wish to
discuss the project with other students however your final work must be your own.
2. Functional Specification
The chip has to implement the following functions: a) Encode a byte of data using 4-parity bits using a Hamming function b) Decode data using Hamming function, perform error correction -In this assignment you will be designing a chip that both encodes and decodes a data stream using a Hamming code. You will also inject random errors into the data stream and your decoder must be able to fix single-bit errors. Note: This project is intended to be individually. I don’t have a problem if you wish to
discuss the project with other students however your final work must be your own.
2. Functional Specification
The chip has to implement the following functions: a) Encode a byte of data using 4-parity bits using a Hamming function b) Decode data using Hamming function, perform error correction Platform: |
Size: 1024 |
Author:Amalathithan |
Hits: